package com.usian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.pojos.Department;

import java.util.List;

public interface DepartmentService extends IService<Department> {

    /**
     * 查询部门信息
     * @return
     */
    public List<Department> findDepartment();

    /**
     * 添加部门信息
     * @param department
     */
    public void addDepartment(Department department);

    /**
     * 修改部门信息
     * @param department
     */
    public void updateDepartment(Department department);

    /**
     * 删除部门
     * @param id
     */
    public void delDepartment(Integer id);
}
